<template>
	<div>
	<!-- <x-header :left-options="{showBack: false}">首页</x-header> -->
	1112
	<Display></Display>
    <Increment></Increment>
	<navfooter></navfooter>
	</div>
</template>
<script>
import navfooter from '../navFooter.vue'
import Display from './Display.vue'
import Increment from './Increment.vue'
import store from '../../vuex/store.js' // import 我们刚刚创建的 store
import Client from '../../client.js'
export default {
		name: 'module1',
		components: {
			navfooter,
			Display,
			Increment
		},
    ready(){
      this.getData();
    },
    methods: {
      getData(){
        Client.doGet(Client.apiUrl.getTag,(data) => {
          // success callback
          console.log(data)
        },(err) =>{
          // error callback
          console.log(err)
        })
      }
    },
		store: store
	}
</script>
<style lang="scss"></style>
